package com.hongsheng.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hongsheng.pojo.Depository;

import java.util.List;

/**
 * TODO
 *
 * @author admin
 * @version 1.0
 * @date 2023/8/11 16:23
 */
public interface DepositoryService {
    List<Depository> findAllDepository();
    Boolean insertDepository(Depository repository);
    Boolean deleteDepository(Integer id);
    Boolean updateDepository(Depository repository);
    Depository selectDepositoryById(Integer id);
    IPage<Depository> getPage(Integer currentPage, Integer pageSize, Depository queryDepository);
    Boolean existGoods(Integer id);
    Boolean findPhone(String phone);
}
